/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package EA_Model.IEC61970.LoadModel.impl;

import EA_Model.IEC61970.Contingency.ContingencyPackage;

import EA_Model.IEC61970.Contingency.impl.ContingencyPackageImpl;

import EA_Model.IEC61970.ControlArea.ControlAreaPackage;

import EA_Model.IEC61970.ControlArea.impl.ControlAreaPackageImpl;

import EA_Model.IEC61970.Core.CorePackage;

import EA_Model.IEC61970.Core.impl.CorePackageImpl;

import EA_Model.IEC61970.Domain.DomainPackage;

import EA_Model.IEC61970.Domain.impl.DomainPackageImpl;

import EA_Model.IEC61970.Equivalents.EquivalentsPackage;

import EA_Model.IEC61970.Equivalents.impl.EquivalentsPackageImpl;

import EA_Model.IEC61970.Generation.GenerationDynamics.GenerationDynamicsPackage;

import EA_Model.IEC61970.Generation.GenerationDynamics.impl.GenerationDynamicsPackageImpl;

import EA_Model.IEC61970.Generation.Production.ProductionPackage;

import EA_Model.IEC61970.Generation.Production.impl.ProductionPackageImpl;

import EA_Model.IEC61970.IEC61970Package;

import EA_Model.IEC61970.Informative.InfCore.InfCorePackage;

import EA_Model.IEC61970.Informative.InfCore.impl.InfCorePackageImpl;

import EA_Model.IEC61970.LoadModel.ConformLoad;
import EA_Model.IEC61970.LoadModel.ConformLoadGroup;
import EA_Model.IEC61970.LoadModel.ConformLoadSchedule;
import EA_Model.IEC61970.LoadModel.DayType;
import EA_Model.IEC61970.LoadModel.EnergyArea;
import EA_Model.IEC61970.LoadModel.LoadArea;
import EA_Model.IEC61970.LoadModel.LoadGroup;
import EA_Model.IEC61970.LoadModel.LoadModelFactory;
import EA_Model.IEC61970.LoadModel.LoadModelPackage;
import EA_Model.IEC61970.LoadModel.LoadResponseCharacteristic;
import EA_Model.IEC61970.LoadModel.NonConformLoad;
import EA_Model.IEC61970.LoadModel.NonConformLoadGroup;
import EA_Model.IEC61970.LoadModel.NonConformLoadSchedule;
import EA_Model.IEC61970.LoadModel.PowerCutZone;
import EA_Model.IEC61970.LoadModel.Season;
import EA_Model.IEC61970.LoadModel.SeasonDayTypeSchedule;
import EA_Model.IEC61970.LoadModel.SeasonName;
import EA_Model.IEC61970.LoadModel.StationSupply;
import EA_Model.IEC61970.LoadModel.SubLoadArea;

import EA_Model.IEC61970.Meas.MeasPackage;

import EA_Model.IEC61970.Meas.impl.MeasPackageImpl;

import EA_Model.IEC61970.OperationalLimits.OperationalLimitsPackage;

import EA_Model.IEC61970.OperationalLimits.impl.OperationalLimitsPackageImpl;

import EA_Model.IEC61970.Outage.OutagePackage;

import EA_Model.IEC61970.Outage.impl.OutagePackageImpl;

import EA_Model.IEC61970.Protection.ProtectionPackage;

import EA_Model.IEC61970.Protection.impl.ProtectionPackageImpl;

import EA_Model.IEC61970.SCADA.SCADAPackage;

import EA_Model.IEC61970.SCADA.impl.SCADAPackageImpl;

import EA_Model.IEC61970.StateVariables.StateVariablesPackage;

import EA_Model.IEC61970.StateVariables.impl.StateVariablesPackageImpl;

import EA_Model.IEC61970.Topology.TopologyPackage;

import EA_Model.IEC61970.Topology.impl.TopologyPackageImpl;

import EA_Model.IEC61970.Wires.WiresPackage;

import EA_Model.IEC61970.Wires.impl.WiresPackageImpl;

import EA_Model.IEC61970.impl.IEC61970PackageImpl;

import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EEnum;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;

import org.eclipse.emf.ecore.impl.EPackageImpl;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model <b>Package</b>.
 * <!-- end-user-doc -->
 * @generated
 */
public class LoadModelPackageImpl extends EPackageImpl implements LoadModelPackage {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass conformLoadEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass conformLoadGroupEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass loadGroupEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass conformLoadScheduleEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass dayTypeEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass energyAreaEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass loadAreaEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass loadResponseCharacteristicEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass nonConformLoadEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass nonConformLoadGroupEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass nonConformLoadScheduleEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass powerCutZoneEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass seasonEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass stationSupplyEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass subLoadAreaEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass seasonDayTypeScheduleEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EEnum seasonNameEEnum = null;

	/**
	 * Creates an instance of the model <b>Package</b>, registered with
	 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
	 * package URI value.
	 * <p>Note: the correct way to create the package is via the static
	 * factory method {@link #init init()}, which also performs
	 * initialization of the package, or returns the registered package,
	 * if one already exists.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see org.eclipse.emf.ecore.EPackage.Registry
	 * @see EA_Model.IEC61970.LoadModel.LoadModelPackage#eNS_URI
	 * @see #init()
	 * @generated
	 */
	private LoadModelPackageImpl() {
		super(eNS_URI, LoadModelFactory.eINSTANCE);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static boolean isInited = false;

	/**
	 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
	 * 
	 * <p>This method is used to initialize {@link LoadModelPackage#eINSTANCE} when that field is accessed.
	 * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #eNS_URI
	 * @see #createPackageContents()
	 * @see #initializePackageContents()
	 * @generated
	 */
	public static LoadModelPackage init() {
		if (isInited) return (LoadModelPackage)EPackage.Registry.INSTANCE.getEPackage(LoadModelPackage.eNS_URI);

		// Obtain or create and register package
		LoadModelPackageImpl theLoadModelPackage = (LoadModelPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof LoadModelPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new LoadModelPackageImpl());

		isInited = true;

		// Obtain or create and register interdependencies
		IEC61970PackageImpl theIEC61970Package = (IEC61970PackageImpl)(EPackage.Registry.INSTANCE.getEPackage(IEC61970Package.eNS_URI) instanceof IEC61970PackageImpl ? EPackage.Registry.INSTANCE.getEPackage(IEC61970Package.eNS_URI) : IEC61970Package.eINSTANCE);
		DomainPackageImpl theDomainPackage = (DomainPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DomainPackage.eNS_URI) instanceof DomainPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DomainPackage.eNS_URI) : DomainPackage.eINSTANCE);
		InfCorePackageImpl theInfCorePackage = (InfCorePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InfCorePackage.eNS_URI) instanceof InfCorePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InfCorePackage.eNS_URI) : InfCorePackage.eINSTANCE);
		CorePackageImpl theCorePackage = (CorePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI) instanceof CorePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI) : CorePackage.eINSTANCE);
		OperationalLimitsPackageImpl theOperationalLimitsPackage = (OperationalLimitsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(OperationalLimitsPackage.eNS_URI) instanceof OperationalLimitsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(OperationalLimitsPackage.eNS_URI) : OperationalLimitsPackage.eINSTANCE);
		TopologyPackageImpl theTopologyPackage = (TopologyPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TopologyPackage.eNS_URI) instanceof TopologyPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TopologyPackage.eNS_URI) : TopologyPackage.eINSTANCE);
		WiresPackageImpl theWiresPackage = (WiresPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WiresPackage.eNS_URI) instanceof WiresPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WiresPackage.eNS_URI) : WiresPackage.eINSTANCE);
		GenerationDynamicsPackageImpl theGenerationDynamicsPackage = (GenerationDynamicsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GenerationDynamicsPackage.eNS_URI) instanceof GenerationDynamicsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GenerationDynamicsPackage.eNS_URI) : GenerationDynamicsPackage.eINSTANCE);
		ProductionPackageImpl theProductionPackage = (ProductionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ProductionPackage.eNS_URI) instanceof ProductionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ProductionPackage.eNS_URI) : ProductionPackage.eINSTANCE);
		OutagePackageImpl theOutagePackage = (OutagePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(OutagePackage.eNS_URI) instanceof OutagePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(OutagePackage.eNS_URI) : OutagePackage.eINSTANCE);
		ProtectionPackageImpl theProtectionPackage = (ProtectionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ProtectionPackage.eNS_URI) instanceof ProtectionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ProtectionPackage.eNS_URI) : ProtectionPackage.eINSTANCE);
		EquivalentsPackageImpl theEquivalentsPackage = (EquivalentsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EquivalentsPackage.eNS_URI) instanceof EquivalentsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EquivalentsPackage.eNS_URI) : EquivalentsPackage.eINSTANCE);
		MeasPackageImpl theMeasPackage = (MeasPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(MeasPackage.eNS_URI) instanceof MeasPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MeasPackage.eNS_URI) : MeasPackage.eINSTANCE);
		SCADAPackageImpl theSCADAPackage = (SCADAPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SCADAPackage.eNS_URI) instanceof SCADAPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SCADAPackage.eNS_URI) : SCADAPackage.eINSTANCE);
		ControlAreaPackageImpl theControlAreaPackage = (ControlAreaPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ControlAreaPackage.eNS_URI) instanceof ControlAreaPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ControlAreaPackage.eNS_URI) : ControlAreaPackage.eINSTANCE);
		ContingencyPackageImpl theContingencyPackage = (ContingencyPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ContingencyPackage.eNS_URI) instanceof ContingencyPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ContingencyPackage.eNS_URI) : ContingencyPackage.eINSTANCE);
		StateVariablesPackageImpl theStateVariablesPackage = (StateVariablesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(StateVariablesPackage.eNS_URI) instanceof StateVariablesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StateVariablesPackage.eNS_URI) : StateVariablesPackage.eINSTANCE);

		// Create package meta-data objects
		theLoadModelPackage.createPackageContents();
		theIEC61970Package.createPackageContents();
		theDomainPackage.createPackageContents();
		theInfCorePackage.createPackageContents();
		theCorePackage.createPackageContents();
		theOperationalLimitsPackage.createPackageContents();
		theTopologyPackage.createPackageContents();
		theWiresPackage.createPackageContents();
		theGenerationDynamicsPackage.createPackageContents();
		theProductionPackage.createPackageContents();
		theOutagePackage.createPackageContents();
		theProtectionPackage.createPackageContents();
		theEquivalentsPackage.createPackageContents();
		theMeasPackage.createPackageContents();
		theSCADAPackage.createPackageContents();
		theControlAreaPackage.createPackageContents();
		theContingencyPackage.createPackageContents();
		theStateVariablesPackage.createPackageContents();

		// Initialize created meta-data
		theLoadModelPackage.initializePackageContents();
		theIEC61970Package.initializePackageContents();
		theDomainPackage.initializePackageContents();
		theInfCorePackage.initializePackageContents();
		theCorePackage.initializePackageContents();
		theOperationalLimitsPackage.initializePackageContents();
		theTopologyPackage.initializePackageContents();
		theWiresPackage.initializePackageContents();
		theGenerationDynamicsPackage.initializePackageContents();
		theProductionPackage.initializePackageContents();
		theOutagePackage.initializePackageContents();
		theProtectionPackage.initializePackageContents();
		theEquivalentsPackage.initializePackageContents();
		theMeasPackage.initializePackageContents();
		theSCADAPackage.initializePackageContents();
		theControlAreaPackage.initializePackageContents();
		theContingencyPackage.initializePackageContents();
		theStateVariablesPackage.initializePackageContents();

		// Mark meta-data to indicate it can't be changed
		theLoadModelPackage.freeze();

  
		// Update the registry and return the package
		EPackage.Registry.INSTANCE.put(LoadModelPackage.eNS_URI, theLoadModelPackage);
		return theLoadModelPackage;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getConformLoad() {
		return conformLoadEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getConformLoadGroup() {
		return conformLoadGroupEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getLoadGroup() {
		return loadGroupEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getConformLoadSchedule() {
		return conformLoadScheduleEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getDayType() {
		return dayTypeEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getEnergyArea() {
		return energyAreaEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getLoadArea() {
		return loadAreaEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getLoadResponseCharacteristic() {
		return loadResponseCharacteristicEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getLoadResponseCharacteristic_ExponentModel() {
		return (EReference)loadResponseCharacteristicEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getLoadResponseCharacteristic_PConstantCurrent() {
		return (EReference)loadResponseCharacteristicEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getLoadResponseCharacteristic_PConstantImpedance() {
		return (EReference)loadResponseCharacteristicEClass.getEStructuralFeatures().get(2);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getLoadResponseCharacteristic_PConstantPower() {
		return (EReference)loadResponseCharacteristicEClass.getEStructuralFeatures().get(3);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getLoadResponseCharacteristic_PFrequencyExponent() {
		return (EReference)loadResponseCharacteristicEClass.getEStructuralFeatures().get(4);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getLoadResponseCharacteristic_PVoltageExponent() {
		return (EReference)loadResponseCharacteristicEClass.getEStructuralFeatures().get(5);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getLoadResponseCharacteristic_QConstantCurrent() {
		return (EReference)loadResponseCharacteristicEClass.getEStructuralFeatures().get(6);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getLoadResponseCharacteristic_QConstantImpedance() {
		return (EReference)loadResponseCharacteristicEClass.getEStructuralFeatures().get(7);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getLoadResponseCharacteristic_QConstantPower() {
		return (EReference)loadResponseCharacteristicEClass.getEStructuralFeatures().get(8);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getLoadResponseCharacteristic_QFrequencyExponent() {
		return (EReference)loadResponseCharacteristicEClass.getEStructuralFeatures().get(9);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getLoadResponseCharacteristic_QVoltageExponent() {
		return (EReference)loadResponseCharacteristicEClass.getEStructuralFeatures().get(10);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getNonConformLoad() {
		return nonConformLoadEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getNonConformLoadGroup() {
		return nonConformLoadGroupEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getNonConformLoadSchedule() {
		return nonConformLoadScheduleEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getPowerCutZone() {
		return powerCutZoneEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getPowerCutZone_CutLevel1() {
		return (EReference)powerCutZoneEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getPowerCutZone_CutLevel2() {
		return (EReference)powerCutZoneEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getSeason() {
		return seasonEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getSeason_EndDate() {
		return (EReference)seasonEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getSeason_Name() {
		return (EAttribute)seasonEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getSeason_StartDate() {
		return (EReference)seasonEClass.getEStructuralFeatures().get(2);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getStationSupply() {
		return stationSupplyEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getSubLoadArea() {
		return subLoadAreaEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getSeasonDayTypeSchedule() {
		return seasonDayTypeScheduleEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EEnum getSeasonName() {
		return seasonNameEEnum;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public LoadModelFactory getLoadModelFactory() {
		return (LoadModelFactory)getEFactoryInstance();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private boolean isCreated = false;

	/**
	 * Creates the meta-model objects for the package.  This method is
	 * guarded to have no affect on any invocation but its first.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void createPackageContents() {
		if (isCreated) return;
		isCreated = true;

		// Create classes and their features
		conformLoadEClass = createEClass(CONFORM_LOAD);

		conformLoadGroupEClass = createEClass(CONFORM_LOAD_GROUP);

		loadGroupEClass = createEClass(LOAD_GROUP);

		conformLoadScheduleEClass = createEClass(CONFORM_LOAD_SCHEDULE);

		dayTypeEClass = createEClass(DAY_TYPE);

		energyAreaEClass = createEClass(ENERGY_AREA);

		loadAreaEClass = createEClass(LOAD_AREA);

		loadResponseCharacteristicEClass = createEClass(LOAD_RESPONSE_CHARACTERISTIC);
		createEReference(loadResponseCharacteristicEClass, LOAD_RESPONSE_CHARACTERISTIC__EXPONENT_MODEL);
		createEReference(loadResponseCharacteristicEClass, LOAD_RESPONSE_CHARACTERISTIC__PCONSTANT_CURRENT);
		createEReference(loadResponseCharacteristicEClass, LOAD_RESPONSE_CHARACTERISTIC__PCONSTANT_IMPEDANCE);
		createEReference(loadResponseCharacteristicEClass, LOAD_RESPONSE_CHARACTERISTIC__PCONSTANT_POWER);
		createEReference(loadResponseCharacteristicEClass, LOAD_RESPONSE_CHARACTERISTIC__PFREQUENCY_EXPONENT);
		createEReference(loadResponseCharacteristicEClass, LOAD_RESPONSE_CHARACTERISTIC__PVOLTAGE_EXPONENT);
		createEReference(loadResponseCharacteristicEClass, LOAD_RESPONSE_CHARACTERISTIC__QCONSTANT_CURRENT);
		createEReference(loadResponseCharacteristicEClass, LOAD_RESPONSE_CHARACTERISTIC__QCONSTANT_IMPEDANCE);
		createEReference(loadResponseCharacteristicEClass, LOAD_RESPONSE_CHARACTERISTIC__QCONSTANT_POWER);
		createEReference(loadResponseCharacteristicEClass, LOAD_RESPONSE_CHARACTERISTIC__QFREQUENCY_EXPONENT);
		createEReference(loadResponseCharacteristicEClass, LOAD_RESPONSE_CHARACTERISTIC__QVOLTAGE_EXPONENT);

		nonConformLoadEClass = createEClass(NON_CONFORM_LOAD);

		nonConformLoadGroupEClass = createEClass(NON_CONFORM_LOAD_GROUP);

		nonConformLoadScheduleEClass = createEClass(NON_CONFORM_LOAD_SCHEDULE);

		powerCutZoneEClass = createEClass(POWER_CUT_ZONE);
		createEReference(powerCutZoneEClass, POWER_CUT_ZONE__CUT_LEVEL1);
		createEReference(powerCutZoneEClass, POWER_CUT_ZONE__CUT_LEVEL2);

		seasonEClass = createEClass(SEASON);
		createEReference(seasonEClass, SEASON__END_DATE);
		createEAttribute(seasonEClass, SEASON__NAME);
		createEReference(seasonEClass, SEASON__START_DATE);

		stationSupplyEClass = createEClass(STATION_SUPPLY);

		subLoadAreaEClass = createEClass(SUB_LOAD_AREA);

		seasonDayTypeScheduleEClass = createEClass(SEASON_DAY_TYPE_SCHEDULE);

		// Create enums
		seasonNameEEnum = createEEnum(SEASON_NAME);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private boolean isInitialized = false;

	/**
	 * Complete the initialization of the package and its meta-model.  This
	 * method is guarded to have no affect on any invocation but its first.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void initializePackageContents() {
		if (isInitialized) return;
		isInitialized = true;

		// Initialize package
		setName(eNAME);
		setNsPrefix(eNS_PREFIX);
		setNsURI(eNS_URI);

		// Obtain other dependent packages
		WiresPackage theWiresPackage = (WiresPackage)EPackage.Registry.INSTANCE.getEPackage(WiresPackage.eNS_URI);
		CorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);
		DomainPackage theDomainPackage = (DomainPackage)EPackage.Registry.INSTANCE.getEPackage(DomainPackage.eNS_URI);

		// Create type parameters

		// Set bounds for type parameters

		// Add supertypes to classes
		conformLoadEClass.getESuperTypes().add(theWiresPackage.getEnergyConsumer());
		conformLoadGroupEClass.getESuperTypes().add(this.getLoadGroup());
		loadGroupEClass.getESuperTypes().add(theCorePackage.getIdentifiedObject());
		conformLoadScheduleEClass.getESuperTypes().add(this.getSeasonDayTypeSchedule());
		dayTypeEClass.getESuperTypes().add(theCorePackage.getIdentifiedObject());
		energyAreaEClass.getESuperTypes().add(theCorePackage.getIdentifiedObject());
		loadAreaEClass.getESuperTypes().add(this.getEnergyArea());
		loadResponseCharacteristicEClass.getESuperTypes().add(theCorePackage.getIdentifiedObject());
		nonConformLoadEClass.getESuperTypes().add(theWiresPackage.getEnergyConsumer());
		nonConformLoadGroupEClass.getESuperTypes().add(this.getLoadGroup());
		nonConformLoadScheduleEClass.getESuperTypes().add(this.getSeasonDayTypeSchedule());
		powerCutZoneEClass.getESuperTypes().add(theCorePackage.getPowerSystemResource());
		stationSupplyEClass.getESuperTypes().add(theWiresPackage.getEnergyConsumer());
		subLoadAreaEClass.getESuperTypes().add(this.getEnergyArea());
		seasonDayTypeScheduleEClass.getESuperTypes().add(theCorePackage.getRegularIntervalSchedule());

		// Initialize classes and features; add operations and parameters
		initEClass(conformLoadEClass, ConformLoad.class, "ConformLoad", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(conformLoadGroupEClass, ConformLoadGroup.class, "ConformLoadGroup", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(loadGroupEClass, LoadGroup.class, "LoadGroup", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(conformLoadScheduleEClass, ConformLoadSchedule.class, "ConformLoadSchedule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(dayTypeEClass, DayType.class, "DayType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(energyAreaEClass, EnergyArea.class, "EnergyArea", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(loadAreaEClass, LoadArea.class, "LoadArea", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(loadResponseCharacteristicEClass, LoadResponseCharacteristic.class, "LoadResponseCharacteristic", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getLoadResponseCharacteristic_ExponentModel(), theDomainPackage.getBoolean(), null, "exponentModel", null, 0, 1, LoadResponseCharacteristic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getLoadResponseCharacteristic_PConstantCurrent(), theDomainPackage.getFloat(), null, "pConstantCurrent", null, 0, 1, LoadResponseCharacteristic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getLoadResponseCharacteristic_PConstantImpedance(), theDomainPackage.getFloat(), null, "pConstantImpedance", null, 0, 1, LoadResponseCharacteristic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getLoadResponseCharacteristic_PConstantPower(), theDomainPackage.getFloat(), null, "pConstantPower", null, 0, 1, LoadResponseCharacteristic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getLoadResponseCharacteristic_PFrequencyExponent(), theDomainPackage.getFloat(), null, "pFrequencyExponent", null, 0, 1, LoadResponseCharacteristic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getLoadResponseCharacteristic_PVoltageExponent(), theDomainPackage.getFloat(), null, "pVoltageExponent", null, 0, 1, LoadResponseCharacteristic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getLoadResponseCharacteristic_QConstantCurrent(), theDomainPackage.getFloat(), null, "qConstantCurrent", null, 0, 1, LoadResponseCharacteristic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getLoadResponseCharacteristic_QConstantImpedance(), theDomainPackage.getFloat(), null, "qConstantImpedance", null, 0, 1, LoadResponseCharacteristic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getLoadResponseCharacteristic_QConstantPower(), theDomainPackage.getFloat(), null, "qConstantPower", null, 0, 1, LoadResponseCharacteristic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getLoadResponseCharacteristic_QFrequencyExponent(), theDomainPackage.getFloat(), null, "qFrequencyExponent", null, 0, 1, LoadResponseCharacteristic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getLoadResponseCharacteristic_QVoltageExponent(), theDomainPackage.getFloat(), null, "qVoltageExponent", null, 0, 1, LoadResponseCharacteristic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);

		initEClass(nonConformLoadEClass, NonConformLoad.class, "NonConformLoad", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(nonConformLoadGroupEClass, NonConformLoadGroup.class, "NonConformLoadGroup", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(nonConformLoadScheduleEClass, NonConformLoadSchedule.class, "NonConformLoadSchedule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(powerCutZoneEClass, PowerCutZone.class, "PowerCutZone", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getPowerCutZone_CutLevel1(), theDomainPackage.getPerCent(), null, "cutLevel1", null, 0, 1, PowerCutZone.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getPowerCutZone_CutLevel2(), theDomainPackage.getPerCent(), null, "cutLevel2", null, 0, 1, PowerCutZone.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);

		initEClass(seasonEClass, Season.class, "Season", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getSeason_EndDate(), theDomainPackage.getAbsoluteDateTime(), null, "endDate", null, 0, 1, Season.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEAttribute(getSeason_Name(), this.getSeasonName(), "name", null, 0, 1, Season.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getSeason_StartDate(), theDomainPackage.getAbsoluteDateTime(), null, "startDate", null, 0, 1, Season.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);

		initEClass(stationSupplyEClass, StationSupply.class, "StationSupply", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(subLoadAreaEClass, SubLoadArea.class, "SubLoadArea", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(seasonDayTypeScheduleEClass, SeasonDayTypeSchedule.class, "SeasonDayTypeSchedule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		// Initialize enums and add enum literals
		initEEnum(seasonNameEEnum, SeasonName.class, "SeasonName");
		addEEnumLiteral(seasonNameEEnum, SeasonName.WINTER);
		addEEnumLiteral(seasonNameEEnum, SeasonName.SPRING);
		addEEnumLiteral(seasonNameEEnum, SeasonName.SUMMER);
		addEEnumLiteral(seasonNameEEnum, SeasonName.FALL);
	}

} //LoadModelPackageImpl
